import { sxqxzk,getOrgDeptTree} from "@/api/power/institution";
import { saveObjArr} from "@/router";
import { mapMutations } from "vuex";
export default {
  watch: {
    
  },
  created(){
  	if (!localStorage.getItem('regTree')) {
  		sxqxzk().then(res => {
				this.set_regTree(res.data.children)
				saveObjArr('regTree', res.data.children)
			});
  	}
  },
  beforeMount() {
    
  },
  beforeDestroy() {
    
  },
  mounted() {
    
  },
  methods: {
  	...mapMutations(['set_regTree']),
  }
}
